<!DOCTYPE html>
<html>
<head>
	<meta charset="UTF-8">
	<title>面板示例</title>
	<link rel="stylesheet" type="text/css" href="../../dist/css/hisui.min.css">
	<script type="text/javascript" src="../../dist/js/jquery-1.11.3.min.js"></script>
	<script type="text/javascript" src="../../dist/js/jquery.hisui.min.js"></script>
	
</head>
<body>
	<script type="text/javascript">
		$(function(){
			var treegridObj = $HUI.treegrid("#moduleBox",{
				idField: "RowId",
				treeField: "Description",
				checkbox: true,
				columns: [
					[
						{ field: "Description", title: "名称", width: 200},
						{ field: "URL", title: "链接页面", width: 200 },
						{ field: "Icon", title: "图标", width: 160 },
						{ field: "ParentModuleDesc", title: "父模块", width: 160 },
						{ field: "MenuModule", title: "是否菜单", width: 100 },
						{ field: "ActiveDesc", title: "是否激活", width: 100 },
						{ field: "PermissionID", title: "授权ID", width: 80, hidden: true }
					]
				]
			});
			treegridObj.loadData({"rows":[{"PermissionID":1,"RowId":"1","Code":"OperManager","Description":"手术管理","ParentModule":"","ParentModuleDesc":"","URL":"","Icon":"icon-surgery","MenuModule":"Y","MenuModuleDesc":"是","Active":"Y","ActiveDesc":"是","SeqNo":"10000"}
			,{"PermissionID":1,"RowId":"5","Code":"OperApplication","Description":"手术申请","ParentModule":"1","_parentId":"1","ParentModuleDesc":"手术管理","URL":"dhcan.operapplication.csp","Icon":"icon-operapplication","MenuModule":"Y","MenuModuleDesc":"是","Active":"Y","ActiveDesc":"是","SeqNo":"10001"}
			,{"PermissionID":1,"RowId":"4","Code":"OperationList","Description":"手术列表","ParentModule":"1","_parentId":"1","ParentModuleDesc":"手术管理","URL":"dhcan.operationlist.csp","Icon":"icon-operationlist","MenuModule":"Y","MenuModuleDesc":"是","Active":"Y","ActiveDesc":"是","SeqNo":"10002"}
			,{"PermissionID":1,"RowId":"18","Code":"ActionPermission","Description":"功能授权","ParentModule":"8","_parentId":"8","ParentModuleDesc":"系统配置","URL":"dhcan.actionpermission.csp","Icon":"","MenuModule":"Y","MenuModuleDesc":"是","Active":"Y","ActiveDesc":"是","SeqNo":"91012"}
			],"total":55});

		});
	</script>
	<table title="text管理" id="moduleBox">
	</table>
</body>

</html>